import Vue from 'vue'
import App from './App.vue'
import WujieVue from "wujie-vue2"

Vue.use(WujieVue)

const app = new Vue({
  render: h => h(App)
}).$mount('#app')

if (window.__POWERED_BY_WUJIE__) {
  window.__WUJIE_MOUNT = () => {
    app.$mount('#app')
  }
  window.__WUJIE_UNMOUNT = () => {
    app.$destroy()
  }
} 